package com.youlai.boot.modules.area.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.modules.area.model.Area;
import com.youlai.boot.modules.area.model.AreaPageQuery;
import com.youlai.boot.modules.area.model.AreaVO;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AreaMapper extends BaseMapper<Area> {
    Page<AreaVO> getAreaPage(Page<AreaVO> page, @Param("query") AreaPageQuery query);
}
